import axios from "./index";

export function FetchShucai(){
    return axios.get('https://api.apiopen.top/getJoke?page=1&count=2&type=video')
}

export function FetchShucaiDetail(id){
    return axios.get(`https://api.apiopen.top/getSingleJoke?sid=${id}`)
}
